package com.kexinxin.dao;

import java.util.List;

import com.kexinxin.bean.Paper;
import com.kexinxin.util.Pagination;



public interface PaperDao {

	
	List<Paper> selectAllPapers(Pagination page);

	
	List<Paper> selectAllSharedPapers(Pagination page);

	
	List<Paper> selectByUserId(int userId, Pagination page);

	Paper selectByPrimaryKey(Integer paperId);

	
	int deleteByPrimaryKey(Integer paperId);

	
	int insert(Paper record);

	int insertSelective(Paper record);

	int updateByPrimaryKeySelective(Paper record);

	int updateByPrimaryKey(Paper record);
}